package entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuwj
 *
 */
public class SuccessKilled implements Serializable {
	
	private static final long serialVersionUID = -6024142127961730062L;

	/**
    * 状态标识;-1:无效,0:成功,1:已付款
    * 表字段: status
    */
    private short status;

    /**
    * 创建时间
    * 表字段: create_time
    */
    private Date createTime;
    
    /**
     * 秒杀商品id
     * 表字段: seckill_id
     */
     private Long seckillId;

     /**
     * 用户手机号码
     * 表字段: user_phone
     */
     private Long userPhone;
    
    private Seckill seckill;

    public Seckill getSeckill() {
		return seckill;
	}

	public void setSeckill(Seckill seckill) {
		this.seckill = seckill;
	}

	public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Long seckillId) {
        this.seckillId = seckillId;
    }

    public Long getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(Long userPhone) {
        this.userPhone = userPhone;
    }

	@Override
	public String toString() {
		return "SuccessKilled [status=" + status + ", createTime=" + createTime + ", seckillId=" + seckillId
				+ ", userPhone=" + userPhone + ", seckill=" + seckill + "]";
	}
    
    
}